#ifndef TREE_ITEM_H
#define TREE_ITEM_H

#include <QTreeWidgetItem>
#include <QString>
#include <iostream>

#include "defines/treeType.h"
#include "defines/global.h"

class TreeItem : public QObject, public QTreeWidgetItem {
	Q_OBJECT

    public:
        TreeItem(QTreeWidgetItem * = 0);
        TreeItem(QString, QTreeWidgetItem * = 0);
        virtual ~TreeItem();

        virtual unsigned int getType(){return INFO;};

        virtual void select(bool);

    public slots:
        virtual void update(){std::cout <<"USANDO UPDATE PAI! " <<std::endl;};
};

#endif


